package com.yst.shader.ext

/**
 * @author: xuyujian@ysten.com
 *  @date: 2020/8/28 15:26
 */

fun randomChar(size: Int): String {
    return (0..size).joinToString("") {
        (0x4e00 + (Math.random() * (0x9fa5 - 0x4e00 + 1)).toInt()).toChar().toString()
    }
}